package com.cxh.mchat.bussiness.service;

import com.cxh.mchat.bussiness.bean.ConversationReqBean;
import com.cxh.mchat.bussiness.bean.ConversationRespBean;
import com.cxh.mchat.bussiness.entity.Conversation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 对话 服务类
 * </p>
 *
 * @author cxh
 * @since 2021-12-28
 */
public interface IConversationService extends IService<Conversation> {

    /**
     * 查询对话列表
     * @param reqBean
     * @return
     */
    List<ConversationRespBean> queryRespList(ConversationReqBean reqBean);

    /**
     * 创建新对话
     * @param reqBean
     * @return
     */
    Boolean add(Conversation reqBean);
}
